######################################################################
# qthellomania.pro   07/03/08
######################################################################

TEMPLATE = app
TARGET = 
DEPENDPATH += . include src ressources ui
INCLUDEPATH += . include src ressources ui

CONFIG += qt
#### Ne fonctionne pas correctement ####
#CONFIG += release
#release {
#	CONFIG += warn_off
#}
#debug {
#	CONFIG += warn_on console
#}
########################################

DESTDIR = bin
MOC_DIR = tmp
OBJECTS_DIR = tmp
RCC_DIR = tmp

win32 {
#### Provoque une erreur de compilation ####
#	UI_HEADERS_DIR = ui\include
#	UI_SOURCES_DIR = ui\src
############################################
#	DLLDESTDIR = dll
	RC_FILE = ressources\QtM.rc
}
macx {
	UI_HEADERS_DIR = ui/include
	UI_SOURCES_DIR = ui/src
	ICON = icos/QtM.icns
#	CONFIG += lib_bundle
}
#unix {
#	UI_HEADERS_DIR = ui/include
#	UI_SOURCES_DIR = ui/src
#}

# Input
HEADERS += AIEngine.h \
           AIResult.h \
           Board.h \
           Define.h \
           GameEngine.h \
           GlWindow.h \
           GraphicsEngine.h \
           InfosMoves.h \
           InfoWindow.h \
           Move.h \
           Player.h \
           PreferencesDialog.h \
           Square.h
FORMS += PreferencesDialog.ui
SOURCES += AIEngine.cpp \
           AIResult.cpp \
           Board.cpp \
           GameEngine.cpp \
           GlWindow.cpp \
           GraphicsEngine.cpp \
           InfosMoves.cpp \
           InfoWindow.cpp \
           Main.cpp \
           Move.cpp \
           Player.cpp \
           PreferencesDialog.cpp \
           Square.cpp
RESOURCES += QtM.qrc
QT += opengl
